package src.lanqiao.true_question_A;

import java.util.Arrays;
import java.util.Scanner;

/**
 * 1 到 n 中，包含有2、0、1、9的数的和是多少
 *
 * input: 40
 *
 * output: 574
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] nums = new int[n];
        for (int i = 0; i < n; i++) {
            nums[i] = sc.nextInt();
        }
        Arrays.sort(nums);


        int min = Integer.MAX_VALUE;
        for (int i = 0; i < n - 1; i++) {
            if (nums[i+1] - nums[i] < min)
                min = nums[i+1] - nums[i];
        }

        if(min == 0) {
            System.out.println(n);
            return;
        }
        int ans = (nums[n - 1] - nums[0]) / min + 1;
        System.out.println(ans);

    }
}
